package com.ccf.business.database.model;

import com.service.mybatis.pojo.SuperEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * 
 *
 * @author ccf
 * @date 2021-11-25 16:42:29
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("wj_datasource")
@ApiModel(value="wj_datasource对象", description="")
public class Datasource extends SuperEntity {
    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "数据源名称")
    private String name;

    @ApiModelProperty(value = "数据源类型  Mysql  /   PG")
    private String type;

    @ApiModelProperty(value = "主机IP")
    private String host;

    @ApiModelProperty(value = "端口号")
    private Integer port;

    @ApiModelProperty(value = "部分数据库存在Schema")
    private String schemaName;

    @ApiModelProperty(value = "数据库")
    private String databaseName;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "驱动")
    private String driver;

    @ApiModelProperty(value = "连接URL")
    private String url;

    @ApiModelProperty(value = "创建人")
    private String creator;
}
